package es.unex.meigas.dataObjects;

import com.vividsolutions.jts.geom.Geometry;

/**
 * A simple implementation of the IFeature interface
 * @author volaya
 *
 */
public class FeatureImpl implements IFeature {

	private Geometry m_Geometry;
	private IRecord m_Record;

	/**
	 * Creates a new feature
	 * @param geom the geometry of the feature
	 * @param values the set of associated attributes
	 */
	public FeatureImpl (Geometry geom,
						Object values[]){

		m_Geometry = geom;
		m_Record = new RecordImpl(values);


	}

	public Geometry getGeometry() {

		return m_Geometry;

	}

	public IRecord getRecord() {

		return m_Record;

	}

}
